java regex expression hackerrank solution

welcome to shbcf.ru